package com.example.createservice.service;


import com.example.bean.Orders;
import com.example.createservice.mapper.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    @Autowired(required=false)
    private OrderDao orderDao;

    public Orders save_order(Orders orders){
        return orderDao.insert(orders);
    }
}

